package com.czy.workflow.core.model;

import java.util.Map;

/**
 * 任务基本信息
 */
public class TaskInfo {

    /**
     * 任务编号
     */
    String taskId;

    /**
     * 流程编号
     */
    String flowId;

    String flowCode;

    /**
     * 节点编号
     */
    FlowNode node;

    /**
     * 用户编号
     */
    String userId;

    /**
     * 操作结果,映射分支选项
     */
    String result;

    /**
     * 其它参数
     */
    Map params;


    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getFlowCode() {
        return flowCode;
    }

    public void setFlowCode(String flowCode) {
        this.flowCode = flowCode;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public FlowNode getNode() {
        return node;
    }

    public void setNode(FlowNode node) {
        this.node = node;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Map getParams() {
        return params;
    }

    public void setParams(Map params) {
        this.params = params;
    }
}
